package com.xintouyun.medicine.model;

import java.util.List;

public class Tree {
	private int tid;
	private String tname;
	private int tparent;
	private List<Tree> children;
	
	public List<Tree> getChildren() {
		return children;
	}
	public void setChildren(List<Tree> children) {
		this.children = children;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public int getTparent() {
		return tparent;
	}
	public void setTparent(int tparent) {
		this.tparent = tparent;
	}
	
}
